<template>
  <!-- 飞机的页面 -->
  <div id="airplane">
    <div class="banner">
      <img src="../../assets/img/phone/banner.png" alt="" />
    </div>
    <div class="center">
      <trip-init
        txt1="机票"
        txt2="特价机票"
        :subnav="true"
        :trainbool="false"
        :phonebool="true"
        subtxt1="单程"
        subtxt2="往返"
        subtxt3="多程"
      ></trip-init>
    </div>
    <div class="footer">
      <phoneFooter />
    </div>
  </div>
</template>
<script>
import tripInit from "../common/Tripinit.vue"; // 封装的组件
import phoneFooter from "../common/Train_phone/Phone_footer.vue"; //尾部的组件
export default {
  name: "Airplane",
  setup() {},
  components: {
    tripInit,
    phoneFooter,
  },
};
</script>
<style lang="less" scoped>
#airplane {
  position: relative;
  > .banner {
    img {
      display: block;
      width: 414px;
      height: 173px;
    }
  }
  > .center {
    width: calc(100% - 20px);
    position: absolute;
    top: 105px;
    margin: 0 10px;
  }
  > .footer {
    position: absolute;
    top: 450px;
    width: calc(100% - 20px);
    margin: 0 10px;
    padding: 10px 10px;
    box-sizing: border-box;
  }
}
</style>
